<p id="post_nav">
    {% if has_previous_page %}<a href="{% url blogs.admin.dashboard blog_slug %}?page={{ prev_page }}">&laquo; Previous posts</a>{% endif %}
    {% if has_next_page %}{% if prev_page %}| {% endif %}<a href="{% url blogs.admin.dashboard blog_slug %}?page={{ next_page }}">Next posts &raquo;</a>{% endif %}
</p>